package org.monkey.common.cbs.entity.form;


import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import javax.persistence.MappedSuperclass;
import javax.validation.constraints.NotNull;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@ApiModel
@MappedSuperclass
@NoArgsConstructor
@AllArgsConstructor
public class BaseUpdateForm {

  @ApiModelProperty("主键id")
  @NotNull(message = "id不能为空")
  Long id;
}
